package reflect;

public class Student {
    private int age = 18;
    private  String name = "小李";
    public Student(){}
    public Student(int age){
        this.age = age;
    }
    public Student(int age,String name){
        this.age = age;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
